﻿/// <summary>获取菜单</summary>
function getMenu() {
    $.ajax({
        type: "post",
        url: "Services/GetMenu/getMenuJson.ashx",
        data: "tokey=" + "7fef6171469e80d32c0559f88b3772",
        dataType: "json",
        cache: false,
        success: function (msg) {
            $("#menu").html(msg.server+"<input type='button' value='go' onclick=YMLib.UI.Show('"+Math.random()+"',4000) />"); 
            YMLib.UI.Show("服务器初始化完毕，请等待……！",3000);
        },
        error: function () {
            alert("报错了");
        }
    });
}
$(function () {
    $("body").layout();
    getMenu();
    $("body").css("visibility", "visible");
});